package com.xcity.pomelo.push;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;
import naga.x.net.impl.pomelo.protocol.Message;

/**
 * 系统公告
 * @author yang.li
 *
 */
@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_NOTICE)
public class NoticePush extends PomeloPacket {

	protected byte id;
	protected String content;
	
	public static final byte NOTICE_MARQUEE = 0; // 跑马灯
	public static final byte NOTICE_ROSE99 = 1; // 99朵玫瑰
	
	public NoticePush(byte id, String content) {
		this.id = id;
		this.content = content;
	}

	public byte getId() {
		return id;
	}

	public void setId(byte id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
}
